package com.itheima.service.impl;

import com.itheima.domain.Pro;
import com.itheima.mapper.ProMapper;
import com.itheima.service.ProService;
import com.itheima.uitls.MapperUtil;

import java.util.List;

public class ProServiceImpl implements ProService {
    @Override
    public List<Pro> findAll() {
        ProMapper mapper = MapperUtil.getMapper(ProMapper.class);
        return mapper.findAll();
    }
}
